#ifndef DIALOG_DATA_MONITOR_H
#define DIALOG_DATA_MONITOR_H

#include <DefineLibUiQt.h>
#include <QString>
#include <QtWidgets/QWidget>
#include <QtWidgets/QDialog>
#include <QtWidgets/QListWidgetItem>

namespace Ui {
class DialogDataMonitor;
}

class LIB_UI_QT_DLL DialogDataMonitor : public QDialog
{
    Q_OBJECT

public:
    explicit DialogDataMonitor(QWidget *parent = nullptr);
    ~DialogDataMonitor();
    
    void addToList(const QString& str);

    void tryCustomPlot1();
    void tryCustomPlot2();

public slots:
    void slotButtonOk(bool value);
    void slotButtonCancel(bool value);
    void slotItemChange(QListWidgetItem* current, QListWidgetItem* previous);

private:
    Ui::DialogDataMonitor *ui;
};

#endif // DIALOG_DATA_MONITOR_H
